<?php echo $this->Session->flash(); ?>

<table width="100%" id="tabla" >
    <thead>
        <tr>
            <th>Id</th>
            <th>Actividad</th>
            <th>Costos de producciòn</th>
            <th>Rendimientos</th>
            <th>Precios de venta</th>
            <th colspan="1"></th>

        </tr>
    </thead>
    <tbody>
        <?php foreach ($lineas as $linea): ?>
            <tr>
                <td><?php echo $linea['ProductiveLine']['id'] ?></td> 
                <td><?php echo $linea['ProductiveActivity']['nombre'] ?></td>
                <td><?php echo $linea['ProductiveLine']['costos_calificacion'] ?></td>
                <td><?php echo $linea['ProductiveLine']['rendimientos_calificacion'] ?></td>
                <td><?php echo $linea['ProductiveLine']['precios_venta_calificacion'] ?></td>
                <td><?php echo $ajax->link('Editar', array('controller' => 'ProductiveLines', 'action' => 'edit', $linea['ProductiveLine']['id'],$evaluation_id), array('class' => 'actions', 'update' => 'lineas', 'indicator' => 'loading', 'escape' => false)); ?>
                <?php echo $ajax->link('Eliminar', array('controller' => 'ProductiveLines', 'action' => 'delete', $linea['ProductiveLine']['id'],$evaluation_id), array('class' => 'actions', 'update' => 'lineas', 'indicator' => 'loading', 'escape' => false),'¿Realmente desea eliminar el registro?'); ?></td>
      
            
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<br>
<?php echo $ajax->link('Adicionar', array('controller' => 'ProductiveLines', 'action' => 'add', $evaluation_id), array('class' => 'actions', 'update' => 'lineas', 'indicator' => 'loading', 'escape' => false)); ?>
              
